package cn.xyy.common.domain.system.online;

import java.util.Date;

/**
 * 在线用户
 * 
 * @author xyy
 *
 */
public class OnlineUser {
	private String uid;
	private String username;
	private String realName;
	private String mobile;
	private String deptName;
	private String jobName;

	/**
	 * 浏览器
	 */
	private String browser;

	/**
	 * IP
	 */
	private String ip;

	/**
	 * 地址
	 */
	private String address;

	/**
	 * token
	 */
	private String token;

	/**
	 * 登录时间
	 */
	private Date loginTime;

	/**
	 * @return the uid
	 */
	public String getUid() {
		return uid;
	}

	/**
	 * @param uid the uid to set
	 */
	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getBrowser() {
		return browser;
	}

	public void setBrowser(String browser) {
		this.browser = browser;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	@Override
	public String toString() {
		return "OnlineUser [uid=" + uid + ", username=" + username + ", realName=" + realName + ", mobile=" + mobile
				+ ", deptName=" + deptName + ", jobName=" + jobName + ",  browser=" + browser + ", ip=" + ip
				+ ", address=" + address + ", token=" + token + ", loginTime=" + loginTime + "]";
	}

}
